package com.example.shixunandjavagotoyangchen.BoosYang.Day005.SwimShezhi;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.widget.ImageView;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.blankj.utilcode.util.ToastUtils;
import com.bumptech.glide.Glide;
import com.example.modelviewpresenter.View.BasterActivity;
import com.example.shixunandjavagotoyangchen.R;
@Route(path = "/Swim/Shezhi")
public class MorningActivity extends BasterActivity {


    private android.widget.ImageView MoringIMG;

    @Override
    public int BandLayout() {
        return R.layout.activity_morning;
    }

    @Override
    public void initView() {

        MoringIMG = (ImageView) findViewById(R.id.MoringIMG);
    }

    @Override
    public void initDate() {

        Intent intent = getIntent();
        String shezhi = intent.getStringExtra("Shezhi");
        ToastUtils.showShort(""+shezhi);
        Glide.with(this).load(R.mipmap.dongtu1).into(MoringIMG);


    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        finish();
    }
}
